package com.example.netcenter.bean;

import java.util.List;

public class FruiteListBean {
    /**
     * statusCode : 100000
     * statusStr : 请求成功
     * data : {"pageSize":15,"pageNo":1,"isLast":true,"total":2,"objects":[{"id":"3","name":"核桃","type":"02","typeId":"7","sourceCity":"武汉","sizeDesc":"10*10","norm":"合格","websiteNode":"3301","createTime":"2018-12-07 14:08:48","status":1,"kind":1,"logo":"http://testboss.guoss.cn/gss_img_root/img_goods/3/20181207150705.jpg","order":2},{"id":"2","name":"葡萄干","type":"02","typeId":"7","sourceCity":"武汉","sizeDesc":"10*10","norm":"合格","websiteNode":"3301","createTime":"2018-12-07 13:45:27","status":-1,"kind":1,"logo":"","order":2}]}
     */

    private String statusCode;
    private String statusStr;
    private DataBean data;

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageSize : 15
         * pageNo : 1
         * isLast : true
         * total : 2
         * objects : [{"id":"3","name":"核桃","type":"02","typeId":"7","sourceCity":"武汉","sizeDesc":"10*10","norm":"合格","websiteNode":"3301","createTime":"2018-12-07 14:08:48","status":1,"kind":1,"logo":"http://testboss.guoss.cn/gss_img_root/img_goods/3/20181207150705.jpg","order":2},{"id":"2","name":"葡萄干","type":"02","typeId":"7","sourceCity":"武汉","sizeDesc":"10*10","norm":"合格","websiteNode":"3301","createTime":"2018-12-07 13:45:27","status":-1,"kind":1,"logo":"","order":2}]
         */

        private int pageSize;
        private int pageNo;
        private boolean isLast;
        private int total;
        private List<ObjectsBean> objects;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public boolean isIsLast() {
            return isLast;
        }

        public void setIsLast(boolean isLast) {
            this.isLast = isLast;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ObjectsBean> getObjects() {
            return objects;
        }

        public void setObjects(List<ObjectsBean> objects) {
            this.objects = objects;
        }

        public static class ObjectsBean {
            /**
             * id : 3
             * name : 核桃
             * type : 02
             * typeId : 7
             * sourceCity : 武汉
             * sizeDesc : 10*10
             * norm : 合格
             * websiteNode : 3301
             * createTime : 2018-12-07 14:08:48
             * status : 1
             * kind : 1
             * logo : http://testboss.guoss.cn/gss_img_root/img_goods/3/20181207150705.jpg
             * order : 2
             */

            private String id;
            private String name;
            private String type;
            private String typeId;
            private String sourceCity;
            private String sizeDesc;
            private String norm;
            private String websiteNode;

            public int getIsOfferToday() {
                return isOfferToday;
            }

            public void setIsOfferToday(int isOfferToday) {
                this.isOfferToday = isOfferToday;
            }

            private int isOfferToday;
            private String createTime;
            private int status;
            private int kind;
            private String logo;
            private int order;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTypeId() {
                return typeId;
            }

            public void setTypeId(String typeId) {
                this.typeId = typeId;
            }

            public String getSourceCity() {
                return sourceCity;
            }

            public void setSourceCity(String sourceCity) {
                this.sourceCity = sourceCity;
            }

            public String getSizeDesc() {
                return sizeDesc;
            }

            public void setSizeDesc(String sizeDesc) {
                this.sizeDesc = sizeDesc;
            }

            public String getNorm() {
                return norm;
            }

            public void setNorm(String norm) {
                this.norm = norm;
            }

            public String getWebsiteNode() {
                return websiteNode;
            }

            public void setWebsiteNode(String websiteNode) {
                this.websiteNode = websiteNode;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getKind() {
                return kind;
            }

            public void setKind(int kind) {
                this.kind = kind;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public int getOrder() {
                return order;
            }

            public void setOrder(int order) {
                this.order = order;
            }
        }
    }
}
